package org.example.studentsystem_back.service;

import org.example.studentsystem_back.common.CommonResponse;
import org.example.studentsystem_back.domain.DormStu;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.studentsystem_back.dto.PageDTO;
import org.example.studentsystem_back.vo.DormStuMangeVo.DormStuVo;

import java.text.ParseException;
import java.util.List;

/**
* @author 马鑫
* @description 针对表【dorm_stu】的数据库操作Service
* @createDate 2024-07-12 13:29:22
*/
public interface DormStuService extends IService<DormStu> {
    CommonResponse<DormStuVo> findAll(PageDTO pageDTO, String id, int num, String name) throws ParseException;
    CommonResponse<DormStu> add(DormStu dormStu) throws ParseException;
    CommonResponse<DormStu> update(DormStu dormStu);
    CommonResponse<DormStu> delete(DormStu dormStu);
    CommonResponse<DormStuVo> findAll1(PageDTO pageDTO, int num, String name) throws ParseException;
    CommonResponse<DormStu> add1(DormStu dormStu);
    CommonResponse<DormStu> update1(DormStu dormStu);
    CommonResponse<DormStu> delete1(DormStu dormStu);
}
